local more1__chezhou = fk.CreateSkill {
  name = "more1__chezhou",
  tags = { Skill.Compulsory, },
}

Fk:loadTranslationTable{
  ["more1__chezhou"] = "掣肘",
  [":more1__chezhou"] = "锁定技，当你造成或受到伤害后，伤害来源弃置手牌中所有【杀】",
  ["$more1__chezhou1"] = "",
  ["$more1__chezhou2"] = "",
}


more1__chezhou:addEffect(fk.Damaged, {
  anim_type = "support",
  can_trigger = function(self, event, target, player, data)
    return player:hasSkill(more1__chezhou.name) and (data.to == player or data.from == player)
  end,
  on_cost = function (self, event, target, player, data)
    return true
  end,
  on_use = function(self, event, target, player, data)
    local room = player.room
    local cards = table.filter(data.from:getCardIds("h"), function(id)
      return Fk:getCardById(id).trueName == "slash" and not data.from:prohibitDiscard(id)
    end)
    if #cards > 0 then
      room:throwCard(cards, more1__chezhou.name, data.from, data.from)
    end
  end,
})










return more1__chezhou
